/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.generators;

import pl.edu.amu.wmi.kino.visualjavafx.model.animation.interpolators.Interpolation;
import pl.edu.amu.wmi.kino.visualjavafx.model.animation.transformations.Translation;

/**
 *
 * @author Admin
 */
public class ModelTranslationGenerator {
    public static Translation generateTranslation(double translateX,double translateY,
            Interpolation interpolateX,Interpolation interpolateY){
        Translation res= new Translation();
        res.setHDestination(translateX);
        res.setVDestination(translateY);
        res.setInterpolation(interpolateX);
        return res;
    }
}
